GlyphsAndCharsToStream(Stream,Font,HashSet<UInt16>,Utf32CodeSet,FontSubsetFlags) Method
Writes a subset of the font containing both the specified glyphs and UTF-32 characters to a stream.
'Declaration
Public Overloads Function GlyphsAndCharsToStream( _
ByVal As System.IO.Stream, _
ByVal As Font, _
ByVal As System.Collections.Generic.HashSet(Of UShort), _
ByVal As Utf32CodeSet, _
Optional ByVal As FontSubsetFlags _
) As System.Integer
Parameters
- stream
- The destination Stream object.
- font
- The Font object to serialize.
- glyphIDs
- Glyph indices to be added to the resulting font subset.
- utf32CodeSet
- A set of UTF-32 characters to be supported in the resulting font subset.
- subsetFlags
- Font serialization options.
Return Value
The number of bytes saved to the stream.